.#{$prefix}-window {
  background-color: #ffffff;
  border-top: 0;
  position: absolute;
  display: none;
  z-index: 1003;
  left: 0px;
  top: 0px;
  overflow: visible;
  border: 1px solid $bgcolor;
}

.#{$prefix}-window-dragging {
	opacity : 0.9;
	filter:alpha(opacity=90);
	-webkit-transition: all .0s;
	-webkit-transition-delay: .0;
	transition: all .0s;
	transition-delay: .0;
	-ms-transition: all .0s;
	-ms-transition-delay: .0;
}

.#{$prefix}-window-proxy{
  opacity : 0;
  -webkit-transition: all .25s;
  -webkit-transition-delay: 0;
  transition: all .25s;
  transition-delay: 0;
  -ms-transition: all .25s;
  -ms-transition-delay: 0;
  z-index:9999;
}

.#{$prefix}-window .#{$prefix}-window-body iframe{
	border : none;
	width: 100%;
	height: 100%;
}
.#{$prefix}-window .#{$prefix}-window-header {
  position: absolute;
  top: 0;
  height: 28px;
  width: 100%;
  //background-color: #6badf6;
  background-color: $bgcolor;
  cursor: default;
  z-index: 2;
  border-top: 8px $bgcolor solid;
}

.#{$prefix}-window .#{$prefix}-window-header .icon {
   width: 18px;
	height: 18px;
	font-size: 16px;
	margin-top: -3px;
	margin-left: 8px;
	position: relative;
	float: left;
}

.#{$prefix}-ie8 .#{$prefix}-window .#{$prefix}-window-header .icon {
    margin-top: -8px;
}

.#{$prefix}-ie9 .#{$prefix}-window .#{$prefix}-window-header .icon {
    margin-top: -8px;
}


.#{$prefix}-window-maximize .#{$prefix}-window-header .icon {
	margin-top: -4px;
}

.#{$prefix}-window .#{$prefix}-window-header .title {
	position: absolute;
	width: 100%;
	height: 100%;
	font-size: 13px;
	line-height: 12px;
	top: 0px;
	left: 0px;
	text-align: left;
	padding-left: 32px;
	color:$windowTitleColor;
}

.#{$prefix}-window-maximize .#{$prefix}-window-header .title {
	line-height: 9px;
}

.#{$prefix}-window .#{$prefix}-window-header .super-title {
  position: absolute;
  top: 6px;
  left: 0;
  display: block;
  width: 100%;
  text-align: center;
  z-index: 0;
  height: 100%;
}

.#{$prefix}-window-active{
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
}

.#{$prefix}-window-preloader {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: url("../../images/preloader_black_48.gif") center no-repeat;
	display: none;
}

.#{$prefix}-window-maximize{
	border-left: none;
	border-bottom: none;
	border-right: none;
	bottom: 34px;
	box-shadow: none;
}

.#{$prefix}-window-maximize .#{$prefix}-window-header {
  height: 26px;
}

.#{$prefix}-window .#{$prefix}-window-cover{
	position:absolute;
	left:0px;
	right:0px;
	display: none;
	width: 100%;
	height: 100%;
	opacity : 0.0;
	filter:alpha(opacity=0);
}

.#{$prefix}-window-resize .#{$prefix}-window-cover,.inactive .#{$prefix}-window-cover{
	display: block;
}


.#{$prefix}-window .#{$prefix}-window-body {
  padding-top: 27px ;
  width: 100%;
  height: 100%;
  //display:none;
  overflow: hidden;
  border: 1px solid #518ECF; 
}

.#{$prefix}-window-maximize .#{$prefix}-window-body {
  padding-top: 25px ;
}

.#{$prefix}-window-loaded .#{$prefix}-window-body {
	display: block;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-close,
.#{$prefix}-window .#{$prefix}-window-header .btn-min,
.#{$prefix}-window .#{$prefix}-window-header .btn-max,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore {
  color: $windowBtnColor;
  position: absolute;
  top: -8px;
  right: 3px;
  width: 48px;
  height: 22px;
  min-height: 22px;
  text-align: center;
  vertical-align: middle;
  font-family: 'Cambria_', 'PT Serif Caption', Verdana, Arial, Helvetica, sans-serif;
  font-size: 16pt;
  font-weight: normal;
  padding: 0 0 10px 0;
  z-index: 3;
  outline: none;
  -webkit-transition: all .1s;
-webkit-transition-delay: .1;
transition: all .1s;
transition-delay: .1;
-ms-transition: all .1s;
-ms-transition-delay: .1;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-close{
	font-size: 22px;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-restore{
	display: none;
}

.#{$prefix}-window-maximize .#{$prefix}-window-header .btn-restore{
	display: block;
}

.#{$prefix}-window-maximize .#{$prefix}-window-header .btn-max{
	display: none;
}

.#{$prefix}-window-unmaximize .#{$prefix}-window-header .btn-restore,
.#{$prefix}-window-unmaximize .#{$prefix}-window-header .btn-max{
	display: none;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-close:hover,
.#{$prefix}-window .#{$prefix}-window-header .btn-min:hover,
.#{$prefix}-window .#{$prefix}-window-header .btn-max:hover,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:hover {
  background-color: $windowBtnHoverBgColor;
  color: $windowBtnHoverColor;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-close:active,
.#{$prefix}-window .#{$prefix}-window-header .btn-min:active,
.#{$prefix}-window .#{$prefix}-window-header .btn-max:active,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:active {
  background-color: $windowBtnActiveBgColor !important;
  top: -8px;
  right: 3px;
  left: auto;
}
.#{$prefix}-window .#{$prefix}-window-header .btn-close:after,
.#{$prefix}-window .#{$prefix}-window-header .btn-min:after,
.#{$prefix}-window .#{$prefix}-window-header .btn-max:after,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:after {
  content: '\D7';
  position: absolute;
  left: 50%;
  top: -6px;
  margin-left: -0.37em;
  font-weight: 100;
}

.#{$prefix}-ie8 .#{$prefix}-window .#{$prefix}-window-header .btn-close,
.#{$prefix}-ie8  .#{$prefix}-window .#{$prefix}-window-header .btn-min,
.#{$prefix}-ie8 .#{$prefix}-window .#{$prefix}-window-header .btn-max,
.#{$prefix}-ie8  .#{$prefix}-window .#{$prefix}-window-header .btn-restore{
	min-height:22px;
	height:22px;
	top: -9px;
}

.#{$prefix}-ie8 .#{$prefix}-window .#{$prefix}-window-header .btn-close:after{
	top: -5px;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-min,
.#{$prefix}-window .#{$prefix}-window-header .btn-max,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore {
  background-color: transparent;
  color: $windowBtnColor;
  width: 48px;
  padding-bottom: 10px;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-min:hover,
.#{$prefix}-window .#{$prefix}-window-header .btn-max:hover,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:hover {
  background-color: $windowBtnHoverBgColor;
  color: $windowBtnHoverColor;
}
.#{$prefix}-window .#{$prefix}-window-header .btn-min:hover:after,
.#{$prefix}-window .#{$prefix}-window-header .btn-max:hover:after,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:after {
  border-color: $windowBtnColor;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-min:after{
	display: block;
    position: absolute;
    width: 14px;
    height: 10px;
    border: 0px $windowBtnColor solid;
    border-bottom-width: 1px;
    content: ' ';
    bottom: 10px;
    left: 50%;
    margin-left: -5px;
    top: auto;
}
.#{$prefix}-window .#{$prefix}-window-header .btn-max:after{
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0px $windowBtnColor solid;
  border-bottom-width: 2px;
  content: ' ';
  bottom: 6px;
  left: 50%;
  margin-left: -5px;
  top: auto;
}
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:after,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:before {
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0px $windowBtnColor solid;
  border-bottom-width: 2px;
  content: ' ';
  left: 50%;
  margin-left: -5px;
}
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:after{
	top: 6px;
}
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:before {
	top: 4px;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-min,
.#{$prefix}-window .#{$prefix}-window-header .btn-min:active{
  	right: 103px;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-min:active{
	background-color: $windowBtnActiveBgColor;;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-max,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore,
.#{$prefix}-window .#{$prefix}-window-header .btn-max:active,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:active {
  right: 53px;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-restore:active {
  background-color: $windowBtnActiveBgColor;;
}

.#{$prefix}-window-unmaximize .#{$prefix}-window-header .btn-min,
.#{$prefix}-window-unmaximize .#{$prefix}-window-header .btn-min:active{
	right: 53px;;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-max:after,
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:after {
  height: 12px;
  border: 1px $windowBtnColor solid;
  border-top-width: 1px;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-restore:hover:after{
	border-color:$windowBtnHoverColor;
}
.#{$prefix}-window .#{$prefix}-window-header .btn-restore:hover:before{
	border-color:$windowBtnHoverColor;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-restore:before {
  	height: 12px;
	border: 1px  solid;
	border-top-width: 1px;
	border-left: none;
	border-bottom: none;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-restore:before{
	bottom:8px;
	left: 50%;
}

.#{$prefix}-window .#{$prefix}-window-header .btn-restore:after {
  left: 45%;
}

.#{$prefix}-window.inactive {
  border-color: #ebebeb;
}
.#{$prefix}-window.inactive .#{$prefix}-window-header {
  background-color: #ebebeb;
  border-top: 8px #ebebeb solid;
}
.#{$prefix}-window.inactive .#{$prefix}-window-body {
  border-color: #ebebeb;
}
.#{$prefix}-window.inactive .btn-close {
  background-color: #bcbcbc;
}


.ui-resizable {
}
.ui-resizable-handle {
	position: absolute;
	font-size: 0.1px;
	display: block;
	-ms-touch-action: none;
	touch-action: none;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
	display: none;
}
.ui-resizable-n {
	cursor: n-resize;
	height: 8px;
	width: 100%;
	top: 0px;
	left: 0px;
}
.ui-resizable-s {
	cursor: s-resize;
	height: 8px;
	width: 100%;
	bottom: -8px;
	left: 0px;
}
.ui-resizable-e {
	cursor: e-resize;
	width: 8px;
	right: -8px;
	top: 0;
	height: 100%;
}
.ui-resizable-w {
	cursor: w-resize;
	width: 8px;
	left: -8px;
	top: 0;
	height: 100%;
}
.ui-resizable-se {
	cursor: se-resize;
	width: 9px;
	height: 9px;
	right: -8px;
	bottom: -8px;
}
.ui-resizable-sw {
	cursor: sw-resize;
	width: 9px;
	height: 9px;
	left: -8px;
	bottom: -8px;
}
.ui-resizable-nw {
	cursor: nw-resize;
	width: 9px;
	height: 9px;
	left: -8px;
	top: 0px;
}
.ui-resizable-ne {
	cursor: ne-resize;
	width: 9px;
	height: 9px;
	right: -8px;
	top: 0px;
}
